﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Yun.Marketing
{
    public class SubjectModel
    {
        /// <summary>
        /// 专题ID
        /// </summary>
        [XmlElement("id")]
        public long Id { get; set; }

        /// <summary>
        /// 专题标题
        /// </summary>
        [XmlElement("title")]
        public string Title { get; set; }

        /// <summary>
        /// 专题副标题
        /// </summary>
        [XmlElement("other_title")]
        public string OtherTitle { get; set; }

        /// <summary>
        /// 专题图片
        /// </summary>
        [XmlElement("img_url")]
        public string ImgUrl { get; set; }

        /// <summary>
        /// 专题描述
        /// </summary>
        [XmlElement("about")]
        public string About { get; set; }

        /// <summary>
        /// 报名须知
        /// </summary>
        [XmlElement("apply_txt")]
        public string ApplyTxt { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        [XmlElement("start_date")]
        public long StartDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        [XmlElement("end_date")]
        public long EndDate { get; set; }

        /// <summary>
        /// 发布时间
        /// </summary>
        [XmlElement("create_time")]
        public long CreateTime { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        [XmlElement("goods_count")]
        public int GoodsCount { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        [XmlElement("sort_id")]
        public int SortId { get; set; }

        /// <summary>
        /// 是否显示0-显示，1-不显示
        /// </summary>
        [XmlElement("is_show")]
        public int IsShow { get; set; }

        /// <summary>
        /// 自定义推荐
        /// </summary>
        [XmlElement("recommend")]
        public int Recommend { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        [XmlElement("shop_id")]
        public int ShopId { get; set; }

        /// <summary>
        /// 公司ID
        /// </summary>
        [XmlElement("company_id")]
        public int CompanyId { get; set; }

        /// <summary>
        /// 站点ID
        /// </summary>
        [XmlElement("site_id")]
        public int SiteId { get; set; }




    }
}
